/*
 * @Author: your name
 * @Date: 2022-07-14 19:17:36
 * @LastEditTime: 2022-07-14 21:13:16
 * @LastEditors: NB-SZ-658
 * @Description: In User Settings Edit
 * @FilePath: \antd-demo-ts\src\store\actions\updata.ts
 */
import { UPDATA_DEL, UPDATA_ADD, UPDATA_EDIT, UPDATA_SEARCH } from '../constants'
export const deleteData = (id: string) => ({
    type: UPDATA_DEL,
    id,
})
export const addData = (parms: any) => ({
    type: UPDATA_ADD,
    parms,
})
export const editData = (parms: any) => ({
    type: UPDATA_EDIT,
    parms,
})
export const searchData = (parms: any) => ({
    type: UPDATA_SEARCH,
    parms,
})

